Searchanise\SmartWoocommerceSearch\Fulltext_Search D

Total Complexity 185
Dependencies 5
Dependents 1
Total lines 1,291
Lines of code 632
Logical lines of code 357
Comment lines 440
Methods 44
Properties 7

Methods 44

Method Rating Maintainability Complexity Lines of code
sendSearchAndRequest()
C
30 27 124
prepareFiltersFromRequest()
C
40 25 50
executeSearchRequest()
A
37 14 74
getDidYouMeanText()
A
48 9 31
getCountAttribute()
A
53 9 24
getSortings()
A
50 8 29
catalogOrderby()
A
54 8 20
preGetPosts()
S
52 7 24
restrictProductCat()
S
54 6 20
priceFilterWidgetMinAmount()
S
58 5 15
priceFilterWidgetMaxAmount()
S
58 5 14
postsClausesRequest()
S
57 4 15
isReviewEnabled()
S
56 3 19
getDefaultSortings()
S
57 3 16
postsPreQuery()
S
70 4 6
getFilteredTermProductCountsQuery()
S
63 4 10
getLimits()
S
66 4 7
getProductIds()
S
61 3 14
foundPosts()
S
71 3 6
getIsUseRequestCache()
S
67 3 7
getTotalProducts()
S
74 2 4
getSuggestions()
S
74 2 4
setAttributeCount()
S
71 2 6
getAttributeCount()
S
71 2 6
is_active()
S
79 2 3
get_filters()
S
61 1 15
isSearchRequest()
S
80 2 3
priceFilterWidgetStep()
S
72 2 6
setAttributesCount()
S
81 1 3
get_priority()
S
82 1 3
checkAttributeCount()
S
79 1 3
get_hooks()
S
76 1 5
getSuggestionLink()
S
67 1 9
getSortMapping()
S
79 1 3
getAttributesCount()
S
82 1 3
setSearchParams()
S
81 1 3
getSearchParams()
S
82 1 3
thePosts()
S
77 1 4
layeredNavCountMaybeCache()
S
82 1 3
setProductIds()
S
81 1 3
checkSearchResults()
S
80 1 3
getSearchResult()
S
82 1 3
setSearchResult()
S
74 1 5
__construct()
S
77 1 4